export interface mockConfig {
  field: string;
  gathers: any[];
}

function random(gather: any[]) {
  const len = gather.length;
  return gather[Math.round(Math.random() * len)];
}

export const mock = (gather: any[], number = 10) => {
  for (let index = 0; index < number; index++) {
    const item = {};
  }
};

// mock([
//   {
//     field: 'sex',
//     gathers: random(),
//   },
// ]);
